package cn.cdiothree.service;

import cn.cdiothree.dto.OrderDto;

/**
 * 买家
 * @author cumthing
 */
public interface BuyerService  {
    /**
     * 查询一个订单
     * @param userId
     * @param orderId
     * @return
     */
    OrderDto findOrderOne(Integer userId, String orderId);

    /**
     * 取消一个订单
     * @param userId
     * @param orderId
     * @return
     */
    OrderDto cancelOrder(Integer userId, String orderId);
}
